Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RSpec 2 support for rspec-rails #59

Closed
wants to merge 1 commit into from

Conversation

david-mccullars
Copy link

We're using rspec 2 (2.6.0) with rails (3.1), and we currently get deprecation warnings coming from webrat. The new syntax is RSpec.configure (instead of Spec::Runner.configure).

This patch provides support for the new syntax while retaining support for the old (depending on whether rspec 2 is installed or not).

…re rather than Spec::Runner.configure. Retain support for Rspec 1, though.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant